import request from '@/utils/request'

export function getSiteLevel (params) {
  return request({
    url: '/admin/get_site_level',
    method: 'get',
    params: params
  })
}

export function doupdatesiteLevel (params) {
  return request({
    url: '/admin/update_site_level',
    method: 'post',
    params: params
  })
}

export function doDelSiteData (params) {
  return request({
    url: '/admin/del_site_data',
    method: 'get',
    params: params
  })
}

export function doAddSiteInfo (params) {
  return request({
    url: '/admin/add_site_info',
    method: 'post',
    params: params
  })
}

export function doUpdateSiteInfo (params) {
  return request({
    url: '/admin/update_site_info',
    method: 'post',
    params: params
  })
}

export function doUpdateSitePass (params) {
  return request({
    url: '/admin/update_site_pass',
    method: 'post',
    params: params
  })
}
